﻿using System;
using System.Windows.Forms;

namespace SharedOUnitExample
{
    public partial class SharedOUnitExampleForm : Form
    {
        public SharedOUnitExampleForm()
        {
            InitializeComponent();
        }

        private void btn_DefinitionCreate_Click(object sender, EventArgs e)
        {
            UsingSharedOUnitMethods.SharedOUnitCreateDefinition();
        }

        private void btn_InstanceCreate_Click(object sender, EventArgs e)
        {
            UsingSharedOUnitMethods.SharedOUnitCreateInstances();
        }

        private void btn_SolidsCreate_Click(object sender, EventArgs e)
        {
            UsingSharedOUnitMethods.SharedOUnitCreateSolids();
        }

        private void btnOverrideColor_Click(object sender, EventArgs e)
        {
            UsingSharedOUnitMethods.SharedOUnitOverideInstanceColor();
        }

        private void btnModifyDefinition_Click(object sender, EventArgs e)
        {
            UsingSharedOUnitMethods.ModifyTheDefinition();
        }
    }
}
